# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wdisplays
pkgver=1.0
pkgrel=1
pkgdesc="GUI display configurator for wlroots compositors"
url="https://cyclopsian.github.io/wdisplays/"
options="!check" # no test suite
arch="all"
license="GPL-3.0-or-later"
makedepends="meson wayland-dev libepoxy gtk+3.0-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/cyclopsian/wdisplays/archive/$pkgver.tar.gz"

build() {
	meson \
		--buildtype=plain \
		--prefix=/usr \
		build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="876e883747331cf67d351b7afec963d6d52b6fa3870a57ed147acf898a662fb41407b3e835acc167d32de969d4001dbe8429340849ad09a7f7b8bfdabee61e3e  wdisplays-1.0.tar.gz"
